/*
 * @Author: yangy aidreams@sina.com
 * @Date: 2024-03-04 11:09:01
 * @LastEditors: yangy aidreams@sina.com
 * @LastEditTime: 2024-07-15 17:13:09
 * @FilePath: /vue3-framework/postcss.config.js
 * @Description: 响应式布局VW布局
 */
export default {
  plugins: {
    "postcss-px-to-viewport-vite-plugin": {
      unitToConvert: "px",
      viewportWidth: 375,
      unitPrecision: 5,
      propList: ["*"],
      viewportUnit: "vw",
      fontViewportUnit: "vw",
      selectorBlackList: [".ignore"],
      minPixelValue: 1,
      mediaQuery: false,
      replace: true,
      exclude: [/(\/|\\)(node_modules)(\/|\\)/],
      // landscape: false, // 横屏配置
      // landscapeUnit: 'vw',
      // landscapeWidth: 568
    },
  },
};
